ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DataStream Class / WriteRange Method / WriteRange<T>(T[],Int32,Int32) Method
The type of the values to be written to the stream.
An array of values to be written to the stream.
The zero-based offset in data at which to begin copying values to the current stream.
The number of values to be written to the current stream. If this is zero, all of the contents data will be written.

In This Topic
    WriteRange<T>(T[],Int32,Int32) Method
    In This Topic
    Writes an array of values to the current stream, and advances the current position within this stream by the number of bytes written.
    Syntax
    'Declaration
     
    Public Overloads Sub WriteRange(Of T As {New, Struct})( _
       ByVal data() As T, _
       ByVal offset As System.Integer, _
       ByVal count As System.Integer _
    ) 
    public void WriteRange<T>( 
       T[] data,
       System.int offset,
       System.int count
    )
    where T: new(), struct

    Parameters

    data
    An array of values to be written to the stream.
    offset
    The zero-based offset in data at which to begin copying values to the current stream.
    count
    The number of values to be written to the current stream. If this is zero, all of the contents data will be written.

    Type Parameters

    T
    The type of the values to be written to the stream.
    Exceptions
    ExceptionDescription
    This stream does not support writing.
    Remarks
    In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
    See Also